/**
 * 
 */
package com.ph.shopping.facade.agent.entity;

import com.ph.shopping.common.core.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @项目：phshopping-facade-agent
 *
 * @描述：代理商实体
 *
 * @作者： 舒豪
 *
 * @创建时间：2017年3月10日
 *
 * @Copyright @2017 by 舒豪
 */
@Table(name = "ph_agent")
public class Agent extends BaseEntity{

    @Column(name="agentLevelId")
    private Long agentLevelId;

    @Column(name="agentName")
    private String agentName;

    @Column(name="personName")
    private String personName;

    @Column(name="personTel")
    private String personTel;

    @Column(name="partnersNumber")
    private Integer partnersNumber;

    @Column(name="promoterTel")
    private String promoterTel;

    @Column(name="promoterName")
    private String promoterName;

    @Column(name="provinceId")
    private Long provinceId;

    @Column(name="cityId")
    private Long cityId;

    @Column(name="countyId")
    private Long countyId;

    @Column(name = "townId")
    private Long townId;

    @Column(name = "positionId")
    private Long positionId;

    @Column(name="address")
    private String address;

    @Column(name="businessNumber")
    private String businessNumber;

    @Column(name="personIdCard")
    private String personIdCard;

    @Column(name="status")
    private Integer status;

    @Column(name="parentId")
    private Long parentId;

    /**
     * 创建人
     */
    @Column(name="createId")
    private Long createId;

    /**
     * 更新人
     */
    @Column(name="updateId")
    private Long updateId;

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonTel() {
        return personTel;
    }

    public void setPersonTel(String personTel) {
        this.personTel = personTel;
    }

    public Integer getPartnersNumber() {
        return partnersNumber;
    }

    public void setPartnersNumber(Integer partnersNumber) {
        this.partnersNumber = partnersNumber;
    }

    public String getPromoterTel() {
        return promoterTel;
    }

    public void setPromoterTel(String promoterTel) {
        this.promoterTel = promoterTel;
    }

    public String getPromoterName() {
        return promoterName;
    }

    public void setPromoterName(String promoterName) {
        this.promoterName = promoterName;
    }

    public Long getAgentLevelId() {
        return agentLevelId;
    }

    public void setAgentLevelId(Long agentLevelId) {
        this.agentLevelId = agentLevelId;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getCountyId() {
        return countyId;
    }

    public void setCountyId(Long countyId) {
        this.countyId = countyId;
    }

    public Long getTownId() {
        return townId;
    }

    public void setTownId(Long townId) {
        this.townId = townId;
    }

    public Long getPositionId() {
        return positionId;
    }

    public void setPositionId(Long positionId) {
        this.positionId = positionId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBusinessNumber() {
        return businessNumber;
    }

    public void setBusinessNumber(String businessNumber) {
        this.businessNumber = businessNumber;
    }

    public String getPersonIdCard() {
        return personIdCard;
    }

    public void setPersonIdCard(String personIdCard) {
        this.personIdCard = personIdCard;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

	public Long getCreateId() {
		return createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}

	public Long getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
    
}
